package com.voicechat.firstmet.client;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.client
 * @ClassName: RequestSendGiftBean
 * @Description: 向长链接发送礼物消息bean
 * @Author: ljp
 * @CreateDate: 2018/11/22 16:44
 * @Version: 1.0
 */
public class RequestSendGiftBean {
    public static int CODE = 2005;
    private int code;
    private ObjectBean object;

    public RequestSendGiftBean(int code, ObjectBean object) {
        this.code = code;
        this.object = object;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ObjectBean getObject() {
        return object;
    }

    public void setObject(ObjectBean object) {
        this.object = object;
    }

    public static class ObjectBean{
        private String calledId;////被叫方id
        private String callingId;//主叫方id
        private String  giftId;//礼物id
        private String giftNumber;//礼物数量
        private int     sign;//标记 0主叫 1被叫

        public ObjectBean(String calledId, String callingId, String giftId, String giftNumber, int sign) {
            this.calledId = calledId;
            this.callingId = callingId;
            this.giftId = giftId;
            this.giftNumber = giftNumber;
            this.sign = sign;
        }

        public int getSign() {
            return sign;
        }

        public void setSign(int sign) {
            this.sign = sign;
        }

        public String getCalledId() {
            return calledId;
        }

        public void setCalledId(String calledId) {
            this.calledId = calledId;
        }

        public String getCallingId() {
            return callingId;
        }

        public void setCallingId(String callingId) {
            this.callingId = callingId;
        }

        public String getGiftId() {
            return giftId;
        }

        public void setGiftId(String giftId) {
            this.giftId = giftId;
        }

        public String getGiftNumber() {
            return giftNumber;
        }

        public void setGiftNumber(String giftNumber) {
            this.giftNumber = giftNumber;
        }
    }

}
